import React, {useState} from 'react';
import { Input } from 'antd';

const [valueInputTextArea, setValueInputTextArea] = useState('');

const onChangeInputTextArea = (e: any) => {
  setValueInputTextArea(e.target.value as any)
};


const App: React.FC = () => (
  <>
    <Input.TextArea placeholder="Basic usage" value={valueInputTextArea} onChange={onChangeInputTextArea} />
  </>
);

export default App;
